package com.zhongli.devplatform.dto.sys;

import com.zhongli.devplatform.dto.student.CommitAnswerDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author wy
 * @since 2020/7/31
 */
@Data
@ApiModel
public class ChapterExercisesDTO {
    /**
     * 章节练习id
     */
    @ApiModelProperty(name = "chapterExercisesId",value = "章节练习id",required = true)
    private Integer chapterExercisesId;

    /**
     * key  id 练习题
     * value  commitAnswer 对应题目提交的答案
     * {@link CommitAnswerDTO}
     */
    @ApiModelProperty(name = "topics",value = "提交的答案对应每一道题",required = true)
    private List<CommitAnswerDTO> topics;
}
